//
//  TTCactegoryModel.h
//  02-分类界面
//
//  Created by peironggao on 2017/10/28.
//  Copyright © 2017年 gaopeirong. All rights reserved.
//

#import "TTBaseModel.h"
@import CoreGraphics;
@interface TTCactegoryModel : TTBaseModel

@property (nonatomic, assign) NSInteger cateId;

@property (nonatomic, copy) NSString *courses;

@property (nonatomic, copy) NSString *logo;

@property (nonatomic, copy) NSString *name;

@property (nonatomic, strong) NSArray<TTCactegoryModel *> *subCates;

@property (nonatomic, assign) NSInteger superCateId;

// 最外层的属性
@property (nonatomic, assign) BOOL selected;
@property (nonatomic, assign) BOOL isLast;

// 最里层的btn的宽高位置信息
@property (nonatomic, assign) CGRect btnFrame;

@property (nonatomic, assign) CGFloat cellHeight;

+ (instancetype)categoryWithDictionary:(NSDictionary *)json;

@end
